﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GeckoPhotos.Models.User>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Details</h2>
    <fieldset>
        <legend>User Details</legend>
        <p>
            <strong>UserID</strong><br />
            <%: Model.UserID %>
        </p>
        <p>
            <strong>Username</strong><br />
            <%: Model.Username %>
        </p>
        <p>
            <strong>Display Name</strong><br />
            <%: Model.DisplayName %>
        </p>
        <p>
            <strong>Email</strong><br />
            <a href="mailto:<%: Model.Email %>">
                <%: Model.Email %></a>
        </p>
    </fieldset>
    <p>
        <%=Html.ActionLink("Edit", "Edit", new { id=Model.UserID }) %>
        |
        <%=Html.ActionLink("Back to Album", "Index") %>
    </p>
</asp:Content>
